import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [vue()],
  devServer: {
    port: 8080, // 端口
    proxy: {
      "/interface": {
        target: "http://112.126.93.176:8090/api/v1",
        changeOrigin: true,
        pathRewrite: {
          "^/interface": ""
        }
      },
    }
  }
})
